﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="admin.aspx.cs" Inherits="Kohvik.WebForm6" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceholderKohvikud" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceholderUudised" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">


    
  
<div style="margin:0 auto;width:300px;margin-top:100px;">
 
       <table>
           <tr>
               <td class="noBorder"><strong>Kasutajanimi</strong></td>
               <td class="noBorder"><asp:TextBox ID="txt_username" runat="server"></asp:TextBox>
               </td>
           </tr>
           <tr>
               <td class="noBorder"><strong>Parool</strong></td>
               <td class="noBorder"><asp:TextBox ID="txt_password" runat="server" TextMode="Password">
                   </asp:TextBox>
               </td>
           </tr>
           <%--<tr>
               <td class="noBorder"><strong>AutoComplete</strong></td>
               <td class="noBorder">
                   <asp:TextBox ID="txt_autoComp" runat="server">
                   </asp:TextBox>
               </td>
           </tr>--%>
       </table>
    
    <br />

    <br />
<span style="margin-left:200px;">   
<asp:Button ID="btn_login" runat="server" Text="Logi sisse" CssClass="btn_login" OnClick="login_click" />
    <br />
    <br />
    <asp:Label ID="lbl_error" runat="server"></asp:Label>
</span>
</div>

    <asp:ScriptManager ID="ScriptManager2" runat="server">
    </asp:ScriptManager>

    <%--<div>
        <asp:AutoCompleteExtender        
                runat="server" 
                BehaviorID="AutoCompleteEx"
                ID="autoComplete" 
                TargetControlID="txt_autoComp"
                ServicePath="http://localhost:43678/Kohvikuteenus"
                ServiceMethod="getData"
                MinimumPrefixLength="0" 
                CompletionInterval="1000"
                EnableCaching="true">
           </asp:AutoCompleteExtender>

    </div>--%>

<%--<asp:AutoCompleteExtender ID="AutoCompleteExtender1" TargetControlID="txt_autoComp"
    runat="server" ServiceMethod="GetCompletionList" MinimumPrefixLength="1"
    CompletionInterval="250" FirstRowSelected="true"
    CompletionListItemCssClass="autocompleteitem"
    CompletionListHighlightedItemCssClass="autocompleteselecteditem"
    CompletionSetCount="15" EnableCaching="true">
</asp:AutoCompleteExtender>--%>


<div style="margin-top:100px;"></div>  

</asp:Content>
